package com.act.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.act.domain.SaleManagement;

//销售收款
public interface ISaleManagementDao {
	
	//查所有
	List<Map> getAll(@Param("startIndex")int startIndex,@Param("endIndex")int iendIndexd);
	
	//增加
	void add(SaleManagement saleManagement);
	
	//删除
	void delete(int id);
	
	//修改
	void update(SaleManagement saleManagement);
	
	//根据id查一条
	SaleManagement getById(@Param("id")int id);
	
	//查总记录数
	int getCounts() ;	
}
